package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_shops_apply;

import cn.com.api.mapper.ApiT_shops_applyMapper;

import cn.com.api.service.ApiT_shops_applyService;

/**
 * 
 **/
@Service
public class T_shops_applyServiceImplBase {
	@Autowired
	private ApiT_shops_applyMapper apiT_shops_applyMapper;
    
    // 根据id获取
	public ApiT_shops_apply findT_shops_applyById(Integer id){
		ApiT_shops_apply t_shops_apply = apiT_shops_applyMapper.findT_shops_applyById( id );
		return t_shops_apply;
	}
    
    //查看数据集
	public List<ApiT_shops_apply> findT_shops_applys(){
        List<ApiT_shops_apply> t_shops_applys = apiT_shops_applyMapper.findT_shops_applys();
		return t_shops_applys;
    }
    
	// 添加
	public int insertT_shops_apply(ApiT_shops_apply t_shops_apply){
		int ret_I= apiT_shops_applyMapper.insertT_shops_apply(t_shops_apply);
		return ret_I;
	}

	// 修改
	public int updateT_shops_apply(ApiT_shops_apply t_shops_apply){
		int ret_I= apiT_shops_applyMapper.updateT_shops_apply(t_shops_apply);
		return ret_I;
	}
	
    // 删除
	public int deleteT_shops_apply(Integer id){
		int ret_I= apiT_shops_applyMapper.deleteT_shops_apply( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


